<?php

require('private.php');
if (! isset($wp_did_header)):

$wp_did_header = true;

require_once( CONFIGPATH . 'wp-config.php');

if ( 'active' == $blogstatus ){ 
	wp();
	gzip_compression();

	require_once(ABSPATH . WPINC . '/template-loader.php');
}
else { 
	if (!empty($slug))	
		lyceum_404();
   	// 	   	$_SESSION['slug_error'] = '<strong>ERROR</strong>: The blog requested does not exist or has been deactivated.'; 
   	// wp_redirect(LURL . '/portal.php'); 
} 

endif;

?>
